﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace A2DFramework.EventService
{
    public interface IEventBus
    {
        void Publish(IEvent evt);
        void Publish<T>(T evt) where T : IEvent;
        void Subscribe<T>()where T: IEvent;
        void Subscribe(Type evtType);
    }
}
